New package: radicle-1.9.1#60993
Conversation
| mkdir -p ${XBPS_SRCDISTDIR}/radicle-${version} | ||
| cd ${XBPS_SRCDISTDIR}/radicle-${version} | ||
| curl --output radicle-${version}.tar.gz \ | ||
| https://seed.radicle.dev/raw/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/archive/releases/${version} |
There was a problem hiding this comment.
This should be a distfile that is checksum verified.
There was a problem hiding this comment.
I've changed to use the distfiles (.tar.gz) from upstream and fixed my previous issue that made me do the 'curl' stuff by putting in a post_fetch instead.
|
Last attempt (#52527) also packaged |
I just looked through the crates of the repo, and it seems upstream has split the http-UI out into it's own separate repo named radicle-explorer instead. |
| post_fetch() { | ||
| cd ${XBPS_SRCDISTDIR}/radicle-${version} | ||
| mv ${version} radicle-${version}.tar.gz | ||
| } | ||
|
|
||
| do_extract() { | ||
| mkdir -p ${XBPS_BUILDDIR}/radicle-${version} | ||
| bsdtar xf ${XBPS_SRCDISTDIR}/radicle-${version}/radicle-${version}.tar.gz -C ${XBPS_BUILDDIR}/radicle-${version} | ||
| } |
There was a problem hiding this comment.
None of this should be required (post_fetch, do_extract).
| license="MIT AND Apache-2.0" | ||
| homepage="https://radicle.dev" | ||
| changelog="https://radicle.network/nodes/seed.radicle.dev/rad%3Az3gqcJUoA1n9HaHKufZs5FCSGazv5/tree/CHANGELOG.md" | ||
| distfiles="https://seed.radicle.dev/raw/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/archive/releases/${version}" |
There was a problem hiding this comment.
| distfiles="https://seed.radicle.dev/raw/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/archive/releases/${version}" | |
| distfiles="https://seed.radicle.dev/raw/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/archive/releases/${version}>${version}.tar.gz" |
There was a problem hiding this comment.
That's nifty that one can do output redirection in the distfiles directly, I'll keep that in mind for the future. I've removed the unnecessary post_fetch and do_extract and added the redirection.
Testing the changes
New package
Local build testing